﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace EwcControlTest
{
    public partial class EnhancedCalendars : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            lblResults1.Text = null;
            lblResults1.Visible = false;
            string skin = "";
            if (((Site1)Master).ApplySkin)
                skin = "MySkin";
            EnhancedCalendar1.CssClass = skin;
            EnhancedCalendar2.CssClass = skin;
            EnhancedCalendar3.CssClass = skin;
            EnhancedCalendar4.CssClass = skin;
            EnhancedCalendar5.CssClass = skin;
        }
        protected void TextChangedHandler(object sender, EventArgs e)
        {
            lblResults1.Text = "You picked this date: " + EnhancedCalendar5.Text;
            lblResults1.Visible = true;
        }
    }
}
